/*
 * NodoConteo.h
 *
 *  Created on: 13/10/2011
 *      Author: mario
 */

#ifndef NODOCONTEO_H_
#define NODOCONTEO_H_

#include "../src/Conteo.h"
#include "Node.h"

class NodoConteo  : public Node{
private:
	Conteo* data;
public:
	NodoConteo();
	virtual ~NodoConteo();
	/**
	 * Gets node value
	 */
	Conteo* getNodeValue() const;
	/**
	 * Sets node value
	 */
	void setNodeValue(Conteo* value);
	/**
	 * Copy Constructor
	 */
	NodoConteo(const NodoConteo &nodoConteo);
	/**
	 * Operator '='
	 */
	NodoConteo& operator=(const NodoConteo &nodoConteo);
	/**
	 * Virtual clone to implement. Virtual copy constructor.
	 */
	virtual NodoConteo* clone() const;
	/**
	 * Virtual implementation of equals
	 */
	virtual bool equals(const Node& node) const;
};

#endif /* NODOCONTEO_H_ */
